package www.my.imageframecompare.multiImgContinue;

/**
 * Copyright (c) 2019 Beeboxes, Inc.
 * Author(s): zhangyingjie (zhangyingjie@beeboxes.com)
 * data :2019/4/8
 *
 * @Function:
 */
public class PlayDataModel {
    private String Url;//资源链接
    private String DownLoadAddress;//本地地址
    private DataType dataType;//播放类型
    private int playTime;//播放时长 秒
    private int endTime;//结束时间 eg: 2019-4-8 11:29:08  毫秒数

    public enum DataType {
        PICTURE((byte)3), VIDEO((byte)4), MUSIC((byte)5), HTML5((byte)1);
        private byte value;
        private DataType(byte value){
            this.value=value;
        }
        public byte value(){
            return this.value;
        }
    }

    public int getPlayTime() {
        return playTime;
    }

    public void setPlayTime(int playTime) {
        this.playTime = playTime;
    }

    public int getEndTime() {
        return endTime;
    }

    public void setEndTime(int endTime) {
        this.endTime = endTime;
    }

    public String getUrl() {
        return Url;
    }

    public void setUrl(String url) {
        Url = url;
    }

    public String getDownLoadAddress() {
        return DownLoadAddress;
    }

    public void setDownLoadAddress(String downLoadAddress) {
        DownLoadAddress = downLoadAddress;
    }

    public DataType getDataType() {
        return dataType;
    }

    public void setDataType(DataType dataType) {
        this.dataType = dataType;
    }
}
